package com.google.guava.eventbus.listeners;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import com.google.common.eventbus.Subscribe;

/**
 * @author fuc
 * @create 2020-10-05
 */
public class ConcreteListener extends  BaseListener {
    private static final Log log = LogFactory.get();

    @Subscribe
    public void concreteTask(String event) {
        if (log.isInfoEnabled()) {
            log.info(
                    "The event [{}]  will be handle by {}.{}",
                    event,
                    this.getClass().getSimpleName(),
                    "concreteTask");
        }
    }
}

